package com.example.mybatisplusclass2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author liu
 * @since 2024-06-11 16:31:15
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("file_info")
public class FileInfo {

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("filename")
    private String filename;

    @TableField("filepath")
    private String filepath;

    @TableField("uploaded_at")
    private LocalDateTime uploadedAt;
}
